package com.his.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.dto
 * @Author: ZhangYing
 * @Date: 2023/7/4 11:10
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommonCharge {
    private int id;//各个id
    private String chargeName;//项目名称
    private double chargePrice;//单价
    private String chargeType;//类型
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") //日期格式转换对象 2023-06-29 14:24:28
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime creationTime;//开立时间
    private String state;//已缴费之类的

    private String drugFormat;//药品规格
    private Integer drugNumber;//数量
}
